home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AVG4(1) AVG4(1)
-
-
- NNAAMMEE
- avg4 - Downfilter an image by simple averaging.
-
- SSYYNNOOPPSSIISS
- aavvgg44 [ --oo _o_u_t_f_i_l_e ] [ _i_n_f_i_l_e ]
-
- DDEESSCCRRIIPPTTIIOONN
- _A_v_g_4 downfilters an RLE image into a resulting image of
- 1/4th the size, by simply averaging four pixel values in
- the input image to produce a single pixel in the output.
- If the original image does not contain an alpha channel,
- avg4 creates one by counting the number of non-zero pixels
- in each group of four input pixels and using the count to
- produce a coverage value. While the alpha channel pro
- duced this way is crude (only four levels of coverage) it
- is enough to make a noticeable improvement in the edges of
- composited images.
-
- OOPPTTIIOONNSS
- _i_n_f_i_l_e The input will be read from this file, otherwise,
- input will be taken from stdin.
-
- --oo _o_u_t_f_i_l_e
- If specified, output will be written to this file,
- otherwise it will go to stdout.
-
- SSEEEE AALLSSOO
- _f_a_n_t(1), _r_l_e_c_o_m_p(1), _s_m_u_s_h(1), _u_r_t(1), _R_L_E(5).
-
- AAUUTTHHOORR
- Rod Bogart, John W. Peterson
-
- BBUUGGSS
- Very simple minded - more elaborate filters could be
- implemented.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1 Nov 12, 1986 1
-
-
-